package com.hqj.demo;

public class SingleCheck extends Questions {

    private static final long serialVersionUID = -202008101742L;
    public SingleCheck() {}

    public SingleCheck(String text, String[] options, String type, String answer, Integer score) {
        super(text, options, type, answer, score);
    }

    @Override
    public boolean isRight(String answer) {
        return answer.equalsIgnoreCase(this.getAnswer());
    }
}
